<template>
   <div class="style2">
     <div class="column">
       <img src="/static/home/bj1.png" alt="">
       <div class="desc">
         豆浆机豆浆机豆浆机豆浆机豆浆机豆浆机
         豆浆机豆浆机豆浆机豆浆机豆浆机豆浆机
         豆浆机豆浆机豆浆机豆浆机豆浆机豆浆机
       </div>
       <div class="price-wrap">
         <div class="left-price">
            ￥99.<span>00</span>
         </div>
         <div class="img">
            <i class="iconfont icongouwuche"></i>
          </div>
       </div>
     </div>
    <div class="column-right">
      <div class="list">
        <img src="/static/home/bj1.png" alt="">
        <div class="right-content">
          <div class="desc">
            四少啊啊啊
          </div>
          <div class="price">
             ￥99.<span>00</span>
          </div>
          <div class="img">
            <i class="iconfont icongouwuche"></i>
          </div>
        </div>
      </div>
      <div class="list">
        <img src="/static/home/bj1.png" alt="">
        <div class="right-content">
          <div class="desc">
            四少啊啊啊
          </div>
          <div class="price">
             ￥99.<span>00</span>
          </div>
          <div class="img">
            <i class="iconfont icongouwuche"></i>
          </div>
        </div>
      </div>
      
     </div>
   </div>
</template>

<script>
export default {
  name: 'HotSaleStyle2',
  data() {
    return {
    }
  },
  computed: {
    
  },
  mounted() {
    
  },
  methods: {

  },
}
</script>

<style lang="less" scoped>
  // 热卖style1
  .style2 {
    width: 100%;
    background: linear-gradient(to right,#163cb3,#295cf2);
    padding: 20px 10px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    &>div {
      flex: 1;
      border-radius: 4px;
    }
    .column {
      margin-right: 11px;
      padding: 12px;
      background: #fff;
      &>img {
        width: 100%;
        height: 78px;
      }
      .desc {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 130px;
        counter-reset: #000;
        font-size: 12px;
        margin-top: 12px;
      }
      .price-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 6px;
        .left-price {
          color: #f6845b;
          font-size: 14px;
          span {
            font-size: 12px;
          }
        }
        .img {
          width: 23px;
          height: 23px;
          background: #fc7e07;
          line-height: 27px;
          text-align: center;
          color: #fff;
          border-radius: 50%;
        }
      }
    }
    .column-right {
      height: 161px;
      display: flex;
      flex-direction: column;
      .list {
        flex: 1;
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 4px;
        padding: 0 5px;
        &:first-child {
          margin-bottom: 8px;
        }
        img {
          width: 55px;
          height: 55px;
        }
       
        .right-content {
          position: relative;
          margin-left: 6px;
          flex: 1;
          text-align: left;
          height: 55px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          .desc {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 12px;
          }
          .price {
            color: #f6845b;
            font-size: 14px;
            span {
              font-size: 12px;
            }
          }
          .img {
            width: 23px;
            height: 23px;
            background: #fc7e07;
            line-height: 27px;
            text-align: center;
            color: #fff;
            border-radius: 50%;
            position: absolute;
            bottom: 0px;
            right: 0px;

          }

        }
       
      }
    }

  }
  
  
</style>